<template>
  <ion-page>
    <ion-header class="ion-no-border">
      <ion-toolbar>
        <ion-buttons slot="start" style="margin-top: 10px">
          <ion-back-button color="dark" text=""></ion-back-button>
        </ion-buttons>
        <ion-title>全部书评</ion-title>
      </ion-toolbar>
    </ion-header>
    <ion-content :fullscreen="true">
      <ion-row class="ion-padding border_bottom">
        <ion-col class="d-f">
          <img src="../../public/assets/images/1.jpg" style="width: 80px;height: 100px;"/>
          <div class="d-f f-d-c ion-justify-content-around ion-margin-start">
            <div style="font-size: larger;">零基础学java</div>
            <div class="div3" style="font-size: small;">明日科技</div>
          </div>
        </ion-col>
      </ion-row>
      <ion-row class="ion-padding border_bottom">
        <ion-col class="d-f">
          <div style="margin-right: 7px;min-width: 35px">
            <img src="../../public/assets/images/14.jpg" style="width: 35px;height: 35px;border-radius: 50px"/>
          </div>
          <div class="d-f f-d-c ion-align-items-start ion-justify-content-between" style="width: 100%">
            <span>强明</span>
            <div class="d-f ion-justify-content-between" style="width: 100%">
              <div class="d-f ion-justify-content-center" style="margin-top: 7px;">
                <img :src="require('../../public/assets/images/6.svg')" style="width: 15px;height: 15px;"/>
                <img :src="require('../../public/assets/images/6.svg')" style="width: 15px;height: 15px;"/>
                <img :src="require('../../public/assets/images/6.svg')" style="width: 15px;height: 15px;"/>
                <img :src="require('../../public/assets/images/6.svg')" style="width: 15px;height: 15px;"/>
                <img :src="require('../../public/assets/images/10.svg')" style="width: 15px;height: 15px;"/>
              </div>
              <div class="d-f ion-align-items-center">
                <img :src="require('../../public/assets/images/11.svg')" style="width: 19px;height: 19px;"/>
                <span style="font-size: smaller;margin-left: 3px">33</span>
              </div>
            </div>
            <p style="line-height: 25px;margin-top: 7px">
              非常好的适合java初学者的书。
            </p>
            <span style="font-size: small;color: #8c8c8c">2019-01-11</span>
          </div>
        </ion-col>
      </ion-row>
      <ion-row class="ion-padding border_bottom">
        <ion-col class="d-f">
          <div style="margin-right: 7px;min-width: 35px">
            <img src="../../public/assets/images/15.jpg" style="width: 35px;height: 35px;border-radius: 50px"/>
          </div>
          <div class="d-f f-d-c ion-align-items-start ion-justify-content-between">
            <span>唐门三姐</span>
            <div class="d-f ion-justify-content-between" style="width: 100%">
              <div class="d-f ion-justify-content-center" style="margin-top: 7px;">
                <img :src="require('../../public/assets/images/6.svg')" style="width: 15px;height: 15px;"/>
                <img :src="require('../../public/assets/images/6.svg')" style="width: 15px;height: 15px;"/>
                <img :src="require('../../public/assets/images/6.svg')" style="width: 15px;height: 15px;"/>
                <img :src="require('../../public/assets/images/6.svg')" style="width: 15px;height: 15px;"/>
                <img :src="require('../../public/assets/images/6.svg')" style="width: 15px;height: 15px;"/>
              </div>
              <div class="d-f ion-align-items-center">
                <img :src="require('../../public/assets/images/11.svg')" style="width: 19px;height: 19px;"/>
                <span style="font-size: smaller;margin-left: 3px">56</span>
              </div>
            </div>
            <p style="line-height: 25px;margin-top: 7px">
              很不错的一本书，图文并茂，值得推荐，很适合java初学者和有一定编程经验的人。
            </p>
            <span style="font-size: small;color: #8c8c8c">2018-12-11 | 3回复</span>
          </div>
        </ion-col>
      </ion-row>
      <ion-row class="ion-padding border_bottom">
        <ion-col class="d-f">
          <div style="margin-right: 7px;min-width: 35px">
            <img src="../../public/assets/images/15.jpg" style="width: 35px;height: 35px;border-radius: 50px"/>
          </div>
          <div class="d-f f-d-c ion-align-items-start ion-justify-content-between">
            <span>王丽</span>
            <div class="d-f ion-justify-content-between" style="width: 100%">
              <div class="d-f ion-justify-content-center" style="margin-top: 7px;">
                <img :src="require('../../public/assets/images/6.svg')" style="width: 15px;height: 15px;"/>
                <img :src="require('../../public/assets/images/6.svg')" style="width: 15px;height: 15px;"/>
                <img :src="require('../../public/assets/images/6.svg')" style="width: 15px;height: 15px;"/>
                <img :src="require('../../public/assets/images/6.svg')" style="width: 15px;height: 15px;"/>
                <img :src="require('../../public/assets/images/6.svg')" style="width: 15px;height: 15px;"/>
              </div>
              <div class="d-f ion-align-items-center">
                <img :src="require('../../public/assets/images/11.svg')" style="width: 19px;height: 19px;"/>
                <span style="font-size: smaller;margin-left: 3px">56</span>
              </div>
            </div>
            <p style="line-height: 25px;margin-top: 7px">
              这本书每个知识点都配有视频讲解（附二维码）还有配套免费电子书，而且还是纯彩印刷，纸质摸起来非常舒服。正如书名所说，适合零基础的初学者学，从最基本的Java简介开始学的。还配有视频讲解，自学不是问题！。
            </p>
            <span style="font-size: small;color: #8c8c8c">2018-12-11 | 1回复</span>
          </div>
        </ion-col>
      </ion-row>
    </ion-content>
    <ion-footer style="background: #f5f6f9">
      <ion-row style="padding:7px;">
        <ion-col class="d-f ion-align-items-center">
          <img src="../../public/assets/images/14.jpg" style="width: 35px;height: 35px;border-radius: 50px"/>
          <span style="font-size: smaller;color: #8c8c8c;" class="ion-margin-start">我来评论</span>
        </ion-col>
      </ion-row>
    </ion-footer>
  </ion-page>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import {
  IonHeader,
  IonFooter,
  IonToolbar,
  IonTitle,
  IonInput,
  IonPage,
  IonCard,
  IonItem,
  IonIcon,
  IonButton,
  IonCardContent,
  IonContent,
  IonSearchbar,
  IonCardHeader,
  IonRow,
  IonCol,
  IonSegment,
  IonSegmentButton,
  IonLabel,
  IonAvatar,
  IonImg,
  IonBackButton,
  IonButtons,
  IonListHeader,
  IonChip
} from '@ionic/vue';
import {callOutline, reorderFourOutline, lockClosedOutline, personOutline} from 'ionicons/icons';
export default defineComponent({
  name: 'CommentPage',
  components: {
    IonHeader,
    IonFooter,
    IonToolbar,
    IonTitle,
    IonInput,
    IonPage,
    IonCard,
    IonItem,
    IonIcon,
    IonButton,
    IonCardContent,
    IonContent,
    IonSearchbar,
    IonCardHeader,
    IonRow,
    IonCol,
    IonSegment,
    IonSegmentButton,
    IonLabel,
    IonAvatar,
    IonImg,
    IonBackButton,
    IonButtons,
    IonListHeader,
    IonChip,
  },
  setup() {
    return {
      lockClosedOutline,
      callOutline,
      reorderFourOutline,
    }
  }
});
</script>

<style lang="less" scoped>
ion-toolbar{
  --background: #fff;
}
</style>
